package com.heima.factory;

import com.heima.service.AccountService;
import com.heima.service.Impl.AccountServiceImpl;
//定义工厂对象
public class InstanceFactory {
    public AccountService createAccountService(){
        return new AccountServiceImpl();
    }
}
